package com.wp.util;

/**
 * 静态内部类
 */
public class Properties3 {
    private static Properties3 properties;
    // 1.构造方法私有化
    private Properties3() {
    }

   // 静态内部类
    public static class SingleHelper{
        private static final Properties3 INSTEANCE = new Properties3();
   }

    // 3.提供公共方法获取类的属性
    public static Properties3 getInstance(){
        properties = SingleHelper.INSTEANCE;
        return properties;
    }

    public static Properties3 text(){
        return properties;
    }
}
